﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;

namespace Aim2.Weapon.Projectile {
    public abstract class Projectile : AnimatedObject {
        protected Vector2 direction;

        public override void Update(float elapsed) {
            Position = Position + direction * speed;
            animatedSprite.UpdateFrame(elapsed);

            base.Update(elapsed);
        }

    }
}
